<?php
/**
 * Marco Mounzer
 * m.mounzer@gmail.com
 * @copyright 2013
 */
require_once 'lib/begin.php';

$title = 'Automoda Fucecchio - Veicoli';
require_once '_header.php';

require_once 'WebCar.php';

$obj = new WebCar();
$sql = null;

require_once 'filter.php';

if (strlen($sql) > 0)
    $sql .= ' AND ';
/* else
  $sql = 'offerta = true AND '; */

$sql .= 'online = true';

echo "<br />";
echo $obj->ChooserDatabaseTable(null, 'Veicoli', isset($sql_order) ? $sql_order : 'modello', null, false, $sql, false, false, isset($_SESSION['show_price']) ? $_SESSION['show_price'] : true);

require_once '_footer.php';